package moodish.dummy;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;

import moodish.comm.ServerSideMessage.Type;

import org.junit.Test;


public class ServerSidesMessageTest {

	
	
private  ServerSidesMessage server =  new ServerSidesMessage("from", "payload" ,Type.MOODISH_MESSAGE);
	

	@Test
	public void testParameters() {

		assertNotNull(server);
		assertEquals("from", server.getClientNickname());
		assertEquals(Type.MOODISH_MESSAGE, server.getType());
		assertEquals("payload", server.getPayload());

	}
}
